// !@#$McCaBe-InStRuMeNtAtIoN$#@!
// Instrumented with the McCabe Java Parser
// Version: 8.1.0.1 - 20110309
// Using Path Vector Instrumentation
// Date: Sun Apr 01 2012 20:42:11
package Model;

import com.mccabe.*;


class EventSpecification_ea6e8029f16bd9ce24b453d89ece03e8 {
    static java.lang.Object info[];
    static {
        info = new java.lang.Object[2];
        info[0] = new Integer(-1);
        info[1] = new String("R:\\yu\\Concordia\\SOEN 344 Design II\\Term Assignment\\Code Repo\\trunk\\Iteration 3\\ERS\\src\\Model\\EventSpecification.java");
    }
}


/**
 * Abstraction-Occurrence design pattern. 
 * @author Yury Kitaev
 *
 */
public class EventSpecification 
{
	private String title; // The type of the event
	private boolean isHeld;	 // Whether or not it is being organized or not. Instead of deleting events, we can simply deactivate them to keep references alive.
	
	/**
	 * Constructor
	 * @param title The name of the event
	 * @param isHeld Whether or not this event is still being helt by the Theatre
	 */
	public EventSpecification(String title, boolean isHeld) {
		super();
int _mcFreq_59fdc8e4d2d5bea6ba934181ee531f78[] = PathVec_ERS_Iter3.getIntArray(0);
PathVec_ERS_Iter3.releaseIntArray();
PathVec_ERS_Iter3.enterConstructorWithECC(EventSpecification_ea6e8029f16bd9ce24b453d89ece03e8.info,0,_mcFreq_59fdc8e4d2d5bea6ba934181ee531f78,0);

		this.title = title;
		this.isHeld = isHeld;
	}

	public String getTitle() 
	{
int _mcFreq_775a40e87af20f95857b44f4961481f8[] = new int[1];
PathVec_ERS_Iter3.enterMethod(EventSpecification_ea6e8029f16bd9ce24b453d89ece03e8.info,1,_mcFreq_775a40e87af20f95857b44f4961481f8,0);

		return title;
	}

	public void setTitle(String title)
	{
int _mcFreq_e4e427503878c8dc4486d575418dff70[] = new int[1];
PathVec_ERS_Iter3.enterMethod(EventSpecification_ea6e8029f16bd9ce24b453d89ece03e8.info,2,_mcFreq_e4e427503878c8dc4486d575418dff70,0);

		this.title = title;
	}

	public boolean isHeld()
	{
int _mcFreq_1ef12c1efd2114ea61ea1b7b6403dd1d[] = new int[1];
PathVec_ERS_Iter3.enterMethod(EventSpecification_ea6e8029f16bd9ce24b453d89ece03e8.info,3,_mcFreq_1ef12c1efd2114ea61ea1b7b6403dd1d,0);

		return isHeld;
	}

	public void setHeld(boolean isHeld) 
	{
int _mcFreq_4d752e6f5e8cac329cd18b61c17ff648[] = new int[1];
PathVec_ERS_Iter3.enterMethod(EventSpecification_ea6e8029f16bd9ce24b453d89ece03e8.info,4,_mcFreq_4d752e6f5e8cac329cd18b61c17ff648,0);

		this.isHeld = isHeld;
	}
}
